<?php

use yii\helpers\Url;

// $this->registerCssFile(Yii::$app->request->baseUrl . 'log/css/cover.css', ['depends' => ['app\modules\admin\assets\AdminAsset'], 'position'=> $this::POS_END]);
$this->title = '日记';
$this->params['breadcrumbs'][] = $this->title;
?>

<div style="margin-bottom:20px;">
    <a href="<?= Url::to(['log/clear']) ?>" class="btn btn-danger">清空</a>
</div>


<div class="inner cover" style="word-break:break-word;">
    <?= nl2br($contents) ?>
</div>